home *** CD-ROM | disk | FTP | other *** search
-
- /* import.c */
- static char *make_compiled_pathname ( char *pathname , char *buf , int buflen );
- static FILE *check_compiled_module ( char *pathname , long mtime , char *cpathname );
- static codeobject *read_compiled_module ( FILE *fp );
- static object *load_compiled_module ( char *name , char *cpathname , FILE *fp );
- static codeobject *parse_source_module ( char *pathname , FILE *fp );
- static void write_compiled_module ( codeobject *co , char *cpathname , long mtime );
- static object *load_source_module ( char *name , char *pathname , FILE *fp );
- static struct filedescr *find_module ( char *name , object *path , char *buf , int buflen , FILE **p_fp );
- static object *load_module ( char *name );
- static int init_builtin ( char *name );
- static struct _frozen *find_frozen ( char *name );
- static object *get_frozen_object ( char *name );
- static object *imp_get_magic ( object *self , object *args );
- static object *imp_get_suffixes ( object *self , object *args );
- static object *imp_find_module ( object *self , object *args );
- static object *imp_init_builtin ( object *self , object *args );
- static object *imp_init_frozen ( object *self , object *args );
- static object *imp_get_frozen_object ( object *self , object *args );
- static object *imp_is_builtin ( object *self , object *args );
- static object *imp_is_frozen ( object *self , object *args );
- static FILE *get_file ( char *pathname , object *fob , char *mode );
- static object *imp_load_compiled ( object *self , object *args );
- static object *imp_load_dynamic ( object *self , object *args );
- static object *imp_load_source ( object *self , object *args );
- static object *imp_new_module ( object *self , object *args );
-